package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @ClassName SkuItemVo
 * @Description TODO
 * @Detail 商品详情页的Vo
 * @Author MyPC
 * @Date 2020/7/10
 * @Version 1.0
 */
@Data
public class SkuItemVo {
    //1、封装sku基本信息  pms_sku_info
    private SkuInfoEntity skuInfo;
    //2、封装sku图片信息 pms_sku_images
    private List<SkuImagesEntity> images;
    //3、封装商品销售属性信息，需查询出Spu的所有销售属性  pms_sku_sale_attr_value
    private List<SkuItemSaleAttrVo> saleAttrs;
    //4、封装商品的商品介绍  pms_spu_info_desc
    private SpuInfoDescEntity desp;
    //5、封装商品的spu规格参数  pms_product_attr_value
    private List<SpuItemAttrGroupVo> groupVos;
    //6、封装商品是否有货
    private Boolean hasStock=true;
    //7、封装商品的秒杀信息
    private SeckillInfoVo seckillInfoVo;

}
